package com.kx.yooli.kx.wechat.po.message;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.Date;

/**
 * @author john_sqwen-childe.wen
 * date 2024/4/8
 * PROJECT_NAME wechat
 * description create WechatSmsSequence by john_sqwen
 * and  value is
 */
@Table("wechat_sms_sequence")
public class WechatSmsSequence {
    private final Logger log = LoggerFactory.getLogger(WechatSmsSequence.class);
    /**
     *  主键（自增）,所属表字段为wechat_sms_sequence.id
     */
    @Id(keyType = KeyType.Auto)
    private Integer id;

    /**
     *  ,所属表字段为wechat_sms_sequence.sequence_name
     */
    private String sequenceName;

    /**
     *  序列的键（一般是手机号码）,所属表字段为wechat_sms_sequence.sequence_key
     */
    private String sequenceKey;

    /**
     *  序列的值（次数）,所属表字段为wechat_sms_sequence.sequence_value
     */
    private Integer sequenceValue;

    /**
     *  创建时间,所属表字段为wechat_sms_sequence.create_time
     */
    private Date createTime;

    /**
     *  最后修改时间,所属表字段为wechat_sms_sequence.modify_time
     */
    private Date modifyTime;

    /**
     *  构造查询条件,wechat_sms_sequence
     */
    public WechatSmsSequence(Integer id, String sequenceName, String sequenceKey, Integer sequenceValue, Date createTime, Date modifyTime) {
        this.id = id;
        this.sequenceName = sequenceName;
        this.sequenceKey = sequenceKey;
        this.sequenceValue = sequenceValue;
        this.createTime = createTime;
        this.modifyTime = modifyTime;
    }

    /**
     *  构造查询条件,wechat_sms_sequence
     */
    public WechatSmsSequence() {
        super();
    }

    /**
     * 获取 主键（自增） 字段:wechat_sms_sequence.id
     *
     * @return wechat_sms_sequence.id, 主键（自增）
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置 主键（自增） 字段:wechat_sms_sequence.id
     *
     * @param id wechat_sms_sequence.id, 主键（自增）
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取  字段:wechat_sms_sequence.sequence_name
     *
     * @return wechat_sms_sequence.sequence_name,
     */
    public String getSequenceName() {
        return sequenceName;
    }

    /**
     * 设置  字段:wechat_sms_sequence.sequence_name
     *
     * @param sequenceName wechat_sms_sequence.sequence_name,
     */
    public void setSequenceName(String sequenceName) {
        this.sequenceName = sequenceName == null ? null : sequenceName.trim();
    }

    /**
     * 获取 序列的键（一般是手机号码） 字段:wechat_sms_sequence.sequence_key
     *
     * @return wechat_sms_sequence.sequence_key, 序列的键（一般是手机号码）
     */
    public String getSequenceKey() {
        return sequenceKey;
    }

    /**
     * 设置 序列的键（一般是手机号码） 字段:wechat_sms_sequence.sequence_key
     *
     * @param sequenceKey wechat_sms_sequence.sequence_key, 序列的键（一般是手机号码）
     */
    public void setSequenceKey(String sequenceKey) {
        this.sequenceKey = sequenceKey == null ? null : sequenceKey.trim();
    }

    /**
     * 获取 序列的值（次数） 字段:wechat_sms_sequence.sequence_value
     *
     * @return wechat_sms_sequence.sequence_value, 序列的值（次数）
     */
    public Integer getSequenceValue() {
        return sequenceValue;
    }

    /**
     * 设置 序列的值（次数） 字段:wechat_sms_sequence.sequence_value
     *
     * @param sequenceValue wechat_sms_sequence.sequence_value, 序列的值（次数）
     */
    public void setSequenceValue(Integer sequenceValue) {
        this.sequenceValue = sequenceValue;
    }

    /**
     * 获取 创建时间 字段:wechat_sms_sequence.create_time
     *
     * @return wechat_sms_sequence.create_time, 创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置 创建时间 字段:wechat_sms_sequence.create_time
     *
     * @param createTime wechat_sms_sequence.create_time, 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取 最后修改时间 字段:wechat_sms_sequence.modify_time
     *
     * @return wechat_sms_sequence.modify_time, 最后修改时间
     */
    public Date getModifyTime() {
        return modifyTime;
    }

    /**
     * 设置 最后修改时间 字段:wechat_sms_sequence.modify_time
     *
     * @param modifyTime wechat_sms_sequence.modify_time, 最后修改时间
     */
    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }
}
